package com.jic.data.model.entity;

import com.jic.common.base.vo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@ApiModel(description = " customer_consume_type_sts ")
public class CustomerConsumeTypeSts extends BaseEntity {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(notes = "id")
    private Long id;

    @ApiModelProperty(notes = "渠道id")
    private Long channelId;

    @ApiModelProperty(notes = "渠道名称")
    private String channelName;

    @ApiModelProperty(notes = "平台id")
    private Long platformId;

    @ApiModelProperty(notes = "平台名称")
    private String platformName;

    @ApiModelProperty(notes = "店铺id")
    private Long storeId;

    @ApiModelProperty(notes = "店铺名称")
    private String storeName;

    @ApiModelProperty(notes = "一次客，在统计周期内购买一次客户")
    private Integer oneConsumeCustomerNumber;

    private Integer one;

    @ApiModelProperty(notes = "回购客，在统计周期类购买2次及以上客户")
    private Integer moreConsumeCustomerNumber;

    private Integer two;

    @ApiModelProperty(notes = "分段类型，1：按日；2：按月；3：季度；4：年；5:周")
    private Integer periodType;

    @ApiModelProperty(notes = "统计类型,1:店铺级；2：平台级；3：渠道级；4：全渠道")
    private Integer stsType;

    @ApiModelProperty(notes = "统计日期")
    private Date stsDate;

    @ApiModelProperty(notes = "更新人")
    private Long updator;

}
